layui.use(['form', 'layedit', 'laydate'], function(){
  var form = layui.form,layer = layui.layer,layedit = layui.layedit,laydate = layui.laydate;
  
 
  
  
  
  
  
  //监听指定开关
  form.on('switch(switchTest)', function(data){
	   layer.msg('开关checked：'+ (this.checked ? 'true' : 'false'), {
	      offset: '6px'
	    });
  });
  
});
